#ifndef COMMONUTILS_H
#define COMMONUTILS_H
#include <string>
#include "../cjson/cJSON.h"
using namespace std;

string getString(cJSON *json, const char *key, const char *val = "");
int getInt(cJSON *json, const char *key, int val = 0);
double getDouble(cJSON *json, const char *key, double val = 0.0);

#endif // COMMONUTILS_H
